package com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.RecyclerView.j;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseDetailResponse;
import com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.MultiTabsFragment;
import com.huawei.appmarket.support.widget.tabhost.FragmentTabHost;
import java.util.HashMap;
import java.util.List;
import kotlin.Metadata;
import o.azb;
import o.cdn;
import o.ciq;
import o.cis;
import o.cit;
import o.cit.d;
import o.ciw;
import o.dgp;
import o.dky.c;
import o.dky.i;
import o.epr;
import o.fqm;
import o.fqr;
import o.frj;
import o.fry;
import o.fsc;
import o.fsd;
import o.fsf;
import o.fsj;
import o.fsx;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@Metadata(bv = {1, 0, 3}, d1 = {"\u0000^\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u0000 .2\u00020\u00012\u00020\u0002:\u0001.B\u0005¢\u0006\u0002\u0010\u0003J\u0010\u0010\u000e\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u0011H\u0016J\b\u0010\u0012\u001a\u00020\u000fH\u0014J\u0014\u0010\u0013\u001a\u00020\u000f2\n\u0010\u0014\u001a\u0006\u0012\u0002\b\u00030\u0015H\u0014J\b\u0010\u0016\u001a\u00020\u000fH\u0016J\b\u0010\u0017\u001a\u00020\u0018H\u0016J\b\u0010\u0019\u001a\u00020\u0018H\u0016J\n\u0010\u001a\u001a\u0004\u0018\u00010\u001bH\u0016J\n\u0010\u001c\u001a\u0004\u0018\u00010\u001bH\u0016J\b\u0010\u001d\u001a\u00020\u000fH\u0016J\b\u0010\u001e\u001a\u00020\u000fH\u0016J\u0010\u0010\u001f\u001a\u00020\u000f2\u0006\u0010 \u001a\u00020!H\u0014J\u0010\u0010\"\u001a\u00020\u000f2\u0006\u0010 \u001a\u00020!H\u0002J\u0006\u0010#\u001a\u00020\u000fJ\u0006\u0010$\u001a\u00020\u000fJ\u000e\u0010%\u001a\u00020\u000f2\u0006\u0010&\u001a\u00020!J\u001e\u0010'\u001a\u00020\u000f2\f\u0010(\u001a\b\u0012\u0004\u0012\u00020*0)2\u0006\u0010+\u001a\u00020!H\u0002J\u0016\u0010,\u001a\u00020\u000f2\f\u0010-\u001a\b\u0012\u0004\u0012\u00020*0)H\u0016R\u0010\u0010\u0004\u001a\u0004\u0018\u00010\u0005X\u000e¢\u0006\u0002\n\u0000R\u001d\u0010\u0006\u001a\u0004\u0018\u00010\u00078BX\u0002¢\u0006\f\n\u0004\b\n\u0010\u000b\u001a\u0004\b\b\u0010\tR\u0010\u0010\f\u001a\u0004\u0018\u00010\rX\u000e¢\u0006\u0002\n\u0000¨\u0006/"}, d2 = {"Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/vertival/VerticalMultiTabsFragment;", "Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/MultiTabsFragment;", "Lcom/huawei/appgallery/foundation/ui/framework/fragment/listener/ISelectTabListener;", "()V", "tabsRecyclerView", "Landroidx/recyclerview/widget/RecyclerView;", "tabsRecyclerViewAdapter", "Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/vertival/VerticalTabsAdapter;", "getTabsRecyclerViewAdapter", "()Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/vertival/VerticalTabsAdapter;", "tabsRecyclerViewAdapter$delegate", "Lkotlin/Lazy;", "tabsRecyclerViewContainer", "Landroid/view/View;", "createContentLayout", "", "viewParent", "Landroid/view/ViewGroup;", "initListDataLayout", "initSubTabData", "res", "Lcom/huawei/appgallery/foundation/ui/framework/cardframe/bean/BaseDetailResponse;", "onDestroyView", "onFirstTab", "", "onLastTab", "onNextTabName", "", "onPreviousTabName", "onSelectNextTab", "onSelectPreviousTab", "restoreSelectedSubTab", "selectedPosition", "", "scrollTabToCenter", "switchToNextTab", "switchToPreviousTab", "switchToTabAt", "index", "updateItemList", "itemList", "", "Lcom/huawei/appmarket/framework/bean/TabItem;", "preferredSelectedPosition", "updateSubTabData", "list", "Companion", "HiAppBase_release"}, k = 1, mv = {1, 1, 15})
public final class VerticalMultiTabsFragment extends MultiTabsFragment implements ciq {
    static final /* synthetic */ fsx[] ॱॱ = new fsx[]{fsf.ॱ(new fsj(fsf.ॱ(VerticalMultiTabsFragment.class), "tabsRecyclerViewAdapter", "getTabsRecyclerViewAdapter()Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/vertival/VerticalTabsAdapter;"))};
    public static final a ᐝ = new a();
    private final fqm ʹ = fqr.ˋ(new b(this));
    private RecyclerView ﹳ;
    private View ﾞ;
    private HashMap ﾟ;

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006J\u000e\u0010\u0007\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\b"}, d2 = {"Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/vertival/VerticalMultiTabsFragment$Companion;", "", "()V", "getTabTextMaxWidth", "", "context", "Landroid/content/Context;", "getTabWidth", "HiAppBase_release"}, k = 1, mv = {1, 1, 15})
    public static final class a {
        private a() {
        }

        public final int ॱ(@NotNull Context context) {
            int dimension;
            fsd.ˊ((Object) context, "context");
            epr ˎ = epr.ˎ();
            fsd.ॱ(ˎ, "DeviceSession.getSession()");
            if (ˎ.ॱॱ() && azb.ˎ(context)) {
                dimension = (int) context.getResources().getDimension(c.ॱʽ);
            } else {
                ˎ = epr.ˎ();
                fsd.ॱ(ˎ, "DeviceSession.getSession()");
                if ((!ˎ.ॱॱ() || azb.ˎ(context)) && !cdn.ॱॱ()) {
                    ˎ = epr.ˎ();
                    fsd.ॱ(ˎ, "DeviceSession.getSession()");
                    if (ˎ.ॱॱ() || !azb.ˎ(context)) {
                        dimension = (int) context.getResources().getDimension(c.ـ);
                    }
                }
                dimension = (int) context.getResources().getDimension(c.ॱʻ);
            }
            return dimension + azb.ᐝ(context);
        }

        public final int ˋ(@NotNull Context context) {
            fsd.ˊ((Object) context, "context");
            return (ॱ(context) - azb.ˊ(context)) - ((int) context.getResources().getDimension(c.ˋ));
        }
    }

    @Metadata(bv = {1, 0, 3}, d1 = {"\u0000\b\n\u0000\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "Lcom/huawei/appgallery/foundation/ui/framework/fragment/multitabs/vertival/VerticalTabsAdapter;", "invoke"}, k = 3, mv = {1, 1, 15})
    static final class b extends fsc implements fry<cit> {
        final /* synthetic */ VerticalMultiTabsFragment ˏ;

        b(VerticalMultiTabsFragment verticalMultiTabsFragment) {
            this.ˏ = verticalMultiTabsFragment;
            super(0);
        }

        public /* synthetic */ Object ˋ() {
            return ˎ();
        }

        @Nullable
        public final cit ˎ() {
            Context ॱˊ = this.ˏ.ॱˊ();
            if (ॱˊ == null) {
                return null;
            }
            fsd.ॱ(ॱˊ, "context ?: return@lazy null");
            cit o_cit = new cit(ॱˊ);
            o_cit.ॱ(new d() {
                public void ˎ(int i) {
                    FragmentTabHost ॱ = this.ˏ.ˊʻ();
                    if (ॱ != null) {
                        ॱ.setCurrentTab(i);
                    }
                    this.ˏ.ʿ(i);
                }
            });
            o_cit.ˏ((cis) this.ˏ);
            return o_cit;
        }
    }

    private final cit ॱˑ() {
        fqm o_fqm = this.ʹ;
        fsx o_fsx = ॱॱ[0];
        return (cit) o_fqm.ˎ();
    }

    @org.jetbrains.annotations.Nullable
    public java.lang.String ae_() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ae_():java.lang.String
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r1 = 0;
        r0 = r3.ॱˑ();
        if (r0 == 0) goto L_0x002e;
    L_0x0007:
        r0 = r0.ॱ();
        if (r0 == 0) goto L_0x002e;
    L_0x000d:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        if (r0 <= 0) goto L_0x002c;
    L_0x0015:
        r2 = r3.ᐝʽ;
        if (r2 == 0) goto L_0x0028;
        r0 = r0 + -1;
        r0 = r2.get(r0);
        r0 = (o.dgp) r0;
        if (r0 == 0) goto L_0x002a;
        r0 = r0.ˊ();
        return r0;
        r0 = r1;
        goto L_0x0021;
        r0 = r1;
        goto L_0x0027;
    L_0x002e:
        r0 = r1;
        goto L_0x0027;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ae_():java.lang.String");
    }

    @org.jetbrains.annotations.Nullable
    public java.lang.String ˊ() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˊ():java.lang.String
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r1 = 0;
        r2 = r4.ॱˑ();
        if (r2 == 0) goto L_0x0035;
    L_0x0007:
        r0 = r2.ॱ();
        if (r0 == 0) goto L_0x0034;
    L_0x000d:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        r3 = r0 + 1;
        r2 = r2.ˏ();
        if (r3 >= r2) goto L_0x0032;
        r2 = r4.ᐝʽ;
        if (r2 == 0) goto L_0x002e;
        r0 = r0 + 1;
        r0 = r2.get(r0);
        r0 = (o.dgp) r0;
        if (r0 == 0) goto L_0x0030;
        r0 = r0.ˊ();
        return r0;
        r0 = r1;
        goto L_0x0027;
        r0 = r1;
        goto L_0x002d;
    L_0x0035:
        r0 = r1;
        goto L_0x002d;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˊ():java.lang.String");
    }

    public boolean ˋ() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˋ():boolean
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r1 = r2.ॱˑ();
        if (r1 == 0) goto L_0x001e;
    L_0x0006:
        r0 = r1.ॱ();
        if (r0 == 0) goto L_0x001d;
    L_0x000c:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        r0 = r0 + 1;
        r1 = r1.ˏ();
        if (r0 != r1) goto L_0x001c;
        r0 = 1;
        return r0;
    L_0x001e:
        r0 = 0;
        goto L_0x001b;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˋ():boolean");
    }

    public void ˎ(@org.jetbrains.annotations.NotNull java.util.List<? extends o.dgp> r1) {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˎ(java.util.List):void
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r0 = "list";
        o.fsd.ˊ(r3, r0);
        r0 = r2.ॱˑ();
        if (r0 == 0) goto L_0x0026;
    L_0x000b:
        r1 = r2.י();
        r2.ˊ(r3, r1);
        r0.ˊ();
        r0 = r0.ॱ();
        if (r0 == 0) goto L_0x0025;
    L_0x001b:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        r2.ʿ(r0);
    L_0x0026:
        return;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˎ(java.util.List):void");
    }

    public void ˏॱ(int r1) {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˏॱ(int):void
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        super.ˏॱ(r3);
        r0 = r2.ॱˑ();
        if (r0 == 0) goto L_0x0024;
    L_0x0009:
        r1 = java.lang.Integer.valueOf(r3);
        r0.ˏ(r1);
        r0.ˊ();
        r0 = r0.ॱ();
        if (r0 == 0) goto L_0x0023;
    L_0x0019:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        r2.ʿ(r0);
    L_0x0024:
        return;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ˏॱ(int):void");
    }

    public void ٴ() {
        if (this.ﾟ != null) {
            this.ﾟ.clear();
        }
    }

    public final void ߺ() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ߺ():void
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r0 = r1.ॱˑ();
        if (r0 == 0) goto L_0x001a;
    L_0x0006:
        r0 = r0.ॱ();
        if (r0 == 0) goto L_0x001a;
    L_0x000c:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        if (r0 <= 0) goto L_0x0019;
    L_0x0014:
        r0 = r0 + -1;
        r1.ͺ(r0);
    L_0x001a:
        return;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ߺ():void");
    }

    public boolean ॱ() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ॱ():boolean
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r0 = r1.ॱˑ();
        if (r0 == 0) goto L_0x0017;
    L_0x0006:
        r0 = r0.ॱ();
        if (r0 == 0) goto L_0x0017;
    L_0x000c:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        if (r0 != 0) goto L_0x0016;
    L_0x0014:
        r0 = 1;
        return r0;
    L_0x0017:
        r0 = 0;
        goto L_0x0015;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ॱ():boolean");
    }

    public final void ॱʾ() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ॱʾ():void
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r1 = r3.ॱˑ();
        if (r1 == 0) goto L_0x0021;
    L_0x0006:
        r0 = r1.ॱ();
        if (r0 == 0) goto L_0x0020;
    L_0x000c:
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        r2 = r0 + 1;
        r1 = r1.ˏ();
        if (r2 >= r1) goto L_0x001f;
        r0 = r0 + 1;
        r3.ͺ(r0);
    L_0x0021:
        return;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ॱʾ():void");
    }

    public void ᵔ() {
        /* JADX: method processing error */
/*
Error: jadx.core.utils.exceptions.DecodeException: Load method exception in method: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ᵔ():void
	at jadx.core.dex.nodes.MethodNode.load(MethodNode.java:116)
	at jadx.core.dex.nodes.ClassNode.load(ClassNode.java:249)
	at jadx.core.ProcessClass.process(ProcessClass.java:34)
	at jadx.api.JadxDecompiler.processClass(JadxDecompiler.java:306)
	at jadx.api.JavaClass.decompile(JavaClass.java:62)
Caused by: java.lang.NullPointerException
*/
        /*
        r0 = this;
        r1 = 0;
        super.ᵔ();
        r2 = r5.ॱˊ();
        if (r2 == 0) goto L_0x00a0;
    L_0x000a:
        r0 = "context ?: return";
        o.fsd.ॱ(r2, r0);
        r0 = r5.ॱˍ;
        r3 = o.dky.h.ॱʿ;
        r0 = r0.findViewById(r3);
        r0 = (androidx.recyclerview.widget.RecyclerView) r0;
        r5.ﹳ = r0;
        r0 = r5.ॱˍ;
        r3 = o.dky.h.ߵ;
        r0 = r0.findViewById(r3);
        r5.ﾞ = r0;
        r0 = r5.ﾞ;
        if (r0 == 0) goto L_0x00a1;
    L_0x0029:
        r0 = r0.getLayoutParams();
        r3 = r0 instanceof android.widget.LinearLayout.LayoutParams;
        if (r3 != 0) goto L_0x0032;
    L_0x0031:
        r0 = r1;
    L_0x0032:
        r0 = (android.widget.LinearLayout.LayoutParams) r0;
        if (r0 == 0) goto L_0x0048;
    L_0x0036:
        r1 = ᐝ;
        r1 = r1.ॱ(r2);
        r0.width = r1;
        r1 = r5.ﾞ;
        if (r1 == 0) goto L_0x0047;
    L_0x0042:
        r0 = (android.view.ViewGroup.LayoutParams) r0;
        r1.setLayoutParams(r0);
    L_0x0048:
        r0 = r5.ॱˍ;
        r1 = o.dky.h.ॱʾ;
        r1 = r0.findViewById(r1);
        r0 = "rootView.findViewById(R.id.tabsRecyclerViewBg)";
        o.fsd.ॱ(r1, r0);
        r0 = o.epw.ˏ();
        if (r0 == 0) goto L_0x00a3;
        r0 = 1028443341; // 0x3d4ccccd float:0.05 double:5.081185235E-315;
        r1.setAlpha(r0);
        r0 = r5.ᐝʽ;
        if (r0 == 0) goto L_0x00a7;
        r1 = r5;
        r3 = r5.י();
        r1.ˊ(r0, r3);
        r1 = r5.ﹳ;
        if (r1 == 0) goto L_0x007d;
        r0 = new androidx.recyclerview.widget.LinearLayoutManager;
        r3 = 1;
        r4 = 0;
        r0.<init>(r2, r3, r4);
        r0 = (androidx.recyclerview.widget.RecyclerView.j) r0;
        r1.setLayoutManager(r0);
        r1 = r5.ﹳ;
        if (r1 == 0) goto L_0x008a;
        r0 = r5.ॱˑ();
        r0 = (androidx.recyclerview.widget.RecyclerView.a) r0;
        r1.setAdapter(r0);
        r0 = r5.ॱˑ();
        if (r0 == 0) goto L_0x00a0;
        r0 = r0.ॱ();
        if (r0 == 0) goto L_0x00a0;
        r0 = (java.lang.Number) r0;
        r0 = r0.intValue();
        r5.ʿ(r0);
    L_0x00a0:
        return;
    L_0x00a1:
        r0 = r1;
        goto L_0x002d;
        r0 = 1022739087; // 0x3cf5c28f float:0.03 double:5.053002475E-315;
        goto L_0x005e;
        r0 = o.frj.ˎ();
        r1 = r5;
        goto L_0x0066;
        */
        throw new UnsupportedOperationException("Method not decompiled: com.huawei.appgallery.foundation.ui.framework.fragment.multitabs.vertival.VerticalMultiTabsFragment.ᵔ():void");
    }

    public void af_() {
        ॱʾ();
    }

    public void ˏ() {
        ߺ();
    }

    public final void ͺ(int i) {
        cit ॱˑ = ॱˑ();
        if (ॱˑ != null) {
            ॱˑ.ॱॱ(i);
        }
    }

    public void ˎ(@NotNull ViewGroup viewGroup) {
        fsd.ˊ((Object) viewGroup, "viewParent");
        this.ᴵ.inflate(i.ʻॱ, viewGroup);
    }

    public void ᐝ() {
        super.ᐝ();
        this.ﹳ = (RecyclerView) null;
        ٴ();
    }

    public void ॱॱ(@NotNull BaseDetailResponse<?> baseDetailResponse) {
        fsd.ˊ((Object) baseDetailResponse, "res");
        super.ॱॱ((BaseDetailResponse) baseDetailResponse);
        List list = this.ᐝʽ;
        if (list == null) {
            list = frj.ˎ();
        }
        ˎ(list);
    }

    private final void ʿ(int i) {
        RecyclerView recyclerView = this.ﹳ;
        if (recyclerView != null) {
            Context ॱˊ = ॱˊ();
            if (ॱˊ != null) {
                fsd.ॱ(ॱˊ, "context ?: return");
                ciw o_ciw = new ciw(ॱˊ);
                o_ciw.ॱ(i);
                j ʻ = recyclerView.ʻ();
                if (ʻ != null) {
                    ʻ.ॱ(o_ciw);
                }
            }
        }
    }

    private final void ˊ(List<? extends dgp> list, int i) {
        cit ॱˑ = ॱˑ();
        if (ॱˑ != null) {
            ॱˑ.ˏ((List) list, i);
        }
        View view = this.ﾞ;
        if (view != null) {
            view.setVisibility(list.isEmpty() ? 4 : 0);
        }
    }
}
